Skip to main content

revStopAnimation

Type

command

Summary

No longer supported and included for backwards compatibility, halts an animation created with the Animation Builder in LiveCode versions older than 2.5.

Syntax

revStopAnimation <animationName>

Description

The revStopAnimation command is no longer supported as the Animation Builder was removed in LiveCode 2.5, however it is included for backwards compatibility with older applications that used the Animation Builder.

Use the revStopAnimation command from within a handler that's triggered by a key frame to stop the current animation from playing.

Animations were created using the Animation Builder in old versions of LiveCode. The Animation builder is no longer available.

The animationName must be an animation that was created on the current card of the defaultStack.

Important

The revStopAnimation command is part of the Animation library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Animation" library checkbox is checked.

Parameters

NameTypeDescription

animationName

An expression that evaluates to the name of an animation on the current card.

Examples

revStopAnimation "Flying Circus"
revStopAnimation (the animName of the target)

command: stop, revPlayAnimation, revGoToFramePaused, play

glossary: current card, main stack, handler, key frame, Standalone Application Settings, group, standalone application, trigger, message, command, application, LiveCode custom library

library: Animation library, library

message: startup, openBackground, preOpenStack, openStack

property: defaultStack

Compatibility and Support

Introduced

LiveCode 1.0

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?